package com.zmn.plat.services.interfaces.part;

import java.util.List;

import com.zmn.plat.model.entity.part.PartSkuUnit;

/**
 * The interface Part sku unit dao.
 *
 * @author xiangjunming
 * @since 2019 /05/07 17:23:51
 */
public interface PartSkuUnitService {

    /**
     * Select by primary key part sku unit.
     *
     * @param skuId
     *            the sku id
     * @return the part sku unit
     */
    PartSkuUnit findByKey(Integer skuId);

    /**
     * Select by primary key part sku unit.
     *
     * @return the part sku unit
     */
    List<PartSkuUnit> listAll();

    /**
     * Update by primary key int.
     *
     * @param record
     *            the record
     * @return the int
     */
    int updateByKey(PartSkuUnit record);

    /**
     * Insert int.
     *
     * @param record
     *            the record
     * @return the int
     */
    int insert(PartSkuUnit record);

    /**
     * Delete by primary key int.
     *
     * @param skuId
     *            the sku id
     * @return the int
     */
    int deleteByKey(Integer skuId);
}